package cn.com.project.pattern.m.decorator;

/**
 * @Desc 父亲签名
 * @Author wangjun
 * @Date 2018-01-24
 */
public class Father {

	public static void main(String[] args) {
		SchoolReport sr = new MidTermExamSchoolReport();
		sr = new HighScoreDecorator(sr);
		sr = new SortDecorator(sr);
		sr.report();
		sr.sign("大王");
	}
	
}
